home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / networking / terms / kermit / a / msulk2.hlp < prev    next >
Encoding:
Text File  |  1993-08-16  |  7.4 KB  |  195 lines

  1. File LK250.HLP            LK250 KEYBOARD UTILITY                  August 1993
  2.  
  3.  
  4. MSULK2.COM and MSULKV.COM are a "device drivers" for the DEC LK250 and LK450
  5. keyboards.  This is a keyboard made by Digital Equipment Corporation (DEC)
  6. that can be substituted for IBM's keyboard on IBM PC/ATs and above, including
  7. PS/2s, and is also the keyboard used on the DEC VAXmate.  MSULK2.COM is to be
  8. used on IBM equipment, MSULKV.COM is for the VAXmate.  The technical
  9. requirement is a machine with a bidirectional keyboard interface (separate
  10. keyboard controller) and a BIOS Int 15H hook for "System Request".  This
  11. program has no effect when run on original PCs and PC/XTs because those
  12. machines do not meet these requirements.  Here's what the LK250 driver does:
  13.  
  14. 1) It allows the keyboard to be switched from DEC to IBM mode and back under
  15. program control.  This replaces the "Press Alt-Special" mechanism provided by
  16. DEC.
  17.  
  18. 2) It allows programs which call it to manipulate the state of the keyboard.
  19. Currently, MS-DOS Kermit only does this to set/clear the Hold Screen LED, so
  20. that the user can tell if s/he's in Hold Screen mode.
  21.  
  22. 3) It intercepts certain key scancodes which normally can't be seen (like Num
  23. Lock) so that they can be used as DEC functions.
  24.  
  25. The LK250 driver controls the behavior of the top-row function keys and the
  26. two keypads on the right end of the keyboard.  When the driver is active, it
  27. puts your LK250 keyboard into "DEC" mode, meaning that the legends on the
  28. keytops apply, rather than the blue labels on the front of the keys.  The blue
  29. labels correspond to IBM keys and functions.
  30.  
  31. If the driver is loaded, MS-DOS Kermit 3.0 and later will make use of it if
  32. you tell Kermit to SET KEY LK and then SET KEY CLEAR:
  33.  
  34.   MS-Kermit>set key lk
  35.   MS-Kermit>set key clear
  36.  
  37. The SET KEY LK command has no effect if the driver is not loaded.  If the
  38. driver is loaded, this command sequence puts the keyboard into DEC mode during
  39. terminal emulation (CONNECT), and returns it to IBM mode whenever terminal
  40. emulation ends.
  41.  
  42. During terminal emulation, the scan codes of the DEC keys are mapped to the
  43. MS-DOS Kermit keyboard verbs of the same name as the DEC keys, so the keyboard
  44. appears to work like the regular LK201 DEC keyboard found on the VT200 and 300
  45. series terminals.  Here's the list of assignments when the LK250 driver is
  46. active and the keyboard is in DEC mode:
  47.  
  48. LK250 Key           Assignment (Character or Kermit Verb)
  49.  
  50. Compose             Escape (\27)                  Main Keyboard
  51. Backspace           DEL (\127)
  52. Shift-Backspace     Backspace (\8)
  53. Return              Carriage return (\13)
  54. Shift-Return        Linefeed (\10)
  55. Tab                 Horizontal Tab (\9)
  56.  
  57. F1  (Hold)          \Kholdscrn                    Top Row Function Keys
  58. F2  (Print Screen)  \Kprtscn
  59. F3  (Setup)         (none)
  60. F4                  (none)
  61. F5  (Break)         \Kbreak
  62. F6  (Interrupt)     \KdecF6
  63. F7  (Resume)        \KdecF7
  64. F8  (Cancel)        \KdecF8
  65. F9  (Main Screen)   \KdecF9
  66. F10 (Exit)          \KdecF10
  67. F11 (ESC)           \KdecF11
  68. F12 (BS)            \KdecF12
  69. F13 (LF)            \KdecF13
  70. F14 (Insert/Overst) \KdecF14
  71. F15 (Help)          \KdecHelp
  72. F16 (Do)            \KdecDo
  73. F17                 \KdecF17
  74. F18                 \KdecF18
  75. F19                 \KdecF19
  76. F20                 \KdecF20
  77.  
  78. Find                \KdecFind                     Cursor/select keypad (gray)
  79. Insert Here         \KdecInsert
  80. Remove              \KdecRemove
  81. Select              \KdecSelect
  82. Prev                \KdecPrev
  83. Next                \KdecNext
  84. Up Arrow            \Kuparr
  85. Left Arrow          \Klfarr
  86. Right Arrow         \Krtarr
  87. Down Arrow          \Kdnarr
  88.  
  89. PF1 (Gold)          \Kgold                         Numeric keypad
  90. PF2                 \Kpf2
  91. PF3                 \Kpf3
  92. PF4                 \Kpf4
  93. Keypad 7            \Kkp7
  94. Keypad 8            \Kkp8
  95. Keypad 9            \Kkp9
  96. Keypad - (Minus)    \Kkpminus
  97. Keypad 4            \Kkp4
  98. Keypad 5            \Kkp5
  99. Keypad 6            \Kkp6
  100. Keypad , (Comma)    \Kkpcoma
  101. Keypad 1            \Kkp1
  102. Keypad 2            \Kkp2
  103. Keypad 3            \Kkp3
  104. Keypad Enter        \Kkpenter
  105. Keypad 0            \Kkp0
  106. Keypad . (Period)   \Kkpdot
  107.  
  108. To install the driver, just type "msulk2" on IBM PCs and PS/2s, or "msulkv" on
  109. VAXmates (this assumes that MSULK2.COM or MSULKV.COM is in your current disk
  110. and directory or in your DOS path).  You can also run the driver from your
  111. AUTOEXEC.BAT file if you want it to be active all the time.
  112.  
  113. Version 3.13 of MS-DOS Kermit differs from earlier releases in differentiating
  114. the scan codes generated by the Space bar when pressed in conjunction with
  115. Shift, Ctrl, and/or Alt.  On a regular PC keyboard, unmodified Space bar
  116. generates a scan code of \32 (which is, indeed, the ASCII code for Space), but
  117. on an LK250, the code \313 is generated.  Thus, when using MS-DOS Kermit 3.13
  118. with an LK250 keyboard, you must make (at least) the following key mapping:
  119.  
  120.   SET KEY \313 \32          ; Make space bar send Space
  121.  
  122. You might also want to make separate mappings for Space bar combinations,
  123. for example:
  124.  
  125.   SET KEY \1337 \0         ; Ctrl-Spacebar sends NUL 
  126.   SET KEY \825 \32         ; Shift-Spacebar sends Space
  127.   etc.
  128.  
  129. For the VAXmate only, a set of key definitions is also required.  Add these
  130. to your MSCUSTOM.INI file:
  131.  
  132. SET KEY \326    \KPF3       ; PF3 Scrl Lock
  133. SET KEY \311    \KPF4       ; PF4 Prt Sc
  134.  
  135. SET KEY \339    \Kkpdot     ;    KP .    Delete
  136. SET KEY \338    \Kkp0       ;    KP 0    Install
  137. SET KEY \335    \Kkp1       ;    KP 1    End
  138. SET KEY \336    \Kkp2       ;    KP 2    Down Arrow
  139. SET KEY \337    \Kkp3       ;    KP 3    Page Down
  140. SET KEY \331    \Kkp4       ;    KP 4    Left Arrow
  141. SET KEY \332    \Kkp5       ;    KP 5    unused
  142. SET KEY \333    \Kkp6       ;    KP 6    Right Arrow
  143. SET KEY \327    \Kkp7       ;    KP 7    Home
  144. SET KEY \328    \Kkp8       ;    KP 8    Up Arrow
  145. SET KEY \329    \Kkp9       ;    KP 9    Page up
  146. SET KEY \330    \Kkpminus   ;    KP -    -
  147. SET KEY \334    \Kkpcoma    ;    KP ,    +
  148. SET KEY \2494   \Kkpenter   ;    Alt-Enter
  149.  
  150. SET KEY \389    \kdecfind   ;     Find or Home
  151. SET KEY \390    \kdecinsert ;     Insert Here
  152. SET KEY \391    \kdecremove ;     Remove
  153. SET KEY \392    \kdecselect ;     Select or End
  154. SET KEY \393    \kdecprev   ;     Previous Screen
  155. SET KEY \394    \kdecnext   ;     Next Screen
  156. SET KEY \395    \Kuparr     ;     Up Arrow
  157. SET KEY \396    \Klfarr     ;     Left Arrow
  158. SET KEY \397    \Krtarr     ;     Right Arrow
  159. SET KEY \398    \Kdnarr     ;     Down Arrow
  160.  
  161. SET KEY \315    \Kholdscrn  ;     F1  Toggle Hold Screen
  162. SET KEY \316    \Kprtscn    ;     F2  Print Screen;
  163. SET KEY \317    \Ktermtype  ;     F3  Toggle Toggle Terminal Type
  164. SET KEY \318    \Klogoff    ;     F4  Turn Session Logging Off
  165. SET KEY \319    \Kbreak     ;     F5  Break
  166.  
  167. SET KEY \x140 \kdecf6
  168. SET KEY \x141 \kdecf7
  169. SET KEY \x142 \kdecf8
  170. SET KEY \x143 \kdecf9
  171. SET KEY \x144 \kdecf10
  172. SET KEY \399 \kdecf11
  173. SET KEY \400 \kdecf12
  174. SET KEY \401 \kdecf13
  175. SET KEY \402 \kdecf14
  176. SET KEY \403 \kdechelp
  177. SET KEY \404 \kdecdo
  178. SET KEY \405 \kdecf17
  179. SET KEY \406 \kdecf18
  180. SET KEY \407 \kdecf19
  181. SET KEY \408 \kdecf20
  182.  
  183. ; shift-return
  184. SET KEY \796 \13
  185. ; shift-delete
  186. SET KEY \782 \127
  187.  
  188. The LK250 program was written in IBM PC assembly language and contributed to
  189. Kermit Distribution by Terry Kennedy, St. Peter's College, Jersey City, New
  190. Jersey, USA (TERRY@SPCVXA.BITNET), December 1989.  It was adapted to the
  191. VAXmate by Trevor Warwick, Digital Equipment Co, Reading, England
  192. (warwick@marvin.enet.dec.com).
  193.  
  194. (End of File MSULK2.HLP)
  195.